package com.kiyuumirai.utils.exception;


import com.kiyuumirai.utils.enums.CodeEnum;
import lombok.Getter;

/**
 * @author MirAi
 * @description 自定义异常
 * @date 2020/11/30 16:17
 */
@Getter
public class ExpectedException extends RuntimeException {

    /** 用户状态枚举 */
    private CodeEnum codeEnum;

    public ExpectedException(CodeEnum codeEnum) {
        this.codeEnum = codeEnum;
    }
}
